package com.hongdee.insurance;

/**
 * Created by Mr. Xu on 2017/4/25.
 */
public class Common {
    public Boolean appendWhereIfNeed(StringBuffer sql,Boolean hasWhere){

        if(hasWhere == false){

            sql.append(" where ");

        }else{

            sql.append(" and ");

        }
        return true;

    }


}
